# This file is part of chimaira-server.
# For copyright information, see AUTHORS.
#
# chimaira-server is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# chimaira-server is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with chimaira-server.  If not, see <http://www.gnu.org/licenses/>.

bin_PROGRAMS = chimaira-server

chimaira_server_CPPFLAGS = \
	$(SERVER_CFLAGS) \
	$(DEBUG_CFLAGS)

chimaira_server_LDADD = \
	$(SERVER_LIBS)

chimaira_server_CFLAGS = \
	 -Wall \
	 -O2

AM_VALAFLAGS = \
	@VALAC_VERSION_FLAG@ \
	--pkg gtk+-3.0 \
	--pkg gee-1.0 \
	--pkg sqlite3 \
	--pkg config \
	--vapidir .

chimaira_server_SOURCES = \
	chimaira.vala \
	dbmanager.vala \
	directoryMonitor.vala \
	libchimaira.vala \
	vSqlite.vala

CLEANFILES = *.c
DISTCLEANFILES = Makefile.in *.stamp
